﻿using System;
using Demo.Api.Entities;

namespace Demo.Api.Models
{
    /// <summary>
    /// 走过的线
    /// </summary>
    public class ProcessLineDto
    {
        /// <summary>
        ///     事项实例Id
        /// </summary>
        public long AffairProcessId { get; set; }

        /// <summary>
        ///     连线Id
        /// </summary>
        public long LineId { get; set; }

        /// <summary>
        ///     操作时间
        /// </summary>
        public DateTime OperatingTime { get; set; }

        public ProcessLineDo To()
        {
            return new ProcessLineDo() { AffairProcessId = AffairProcessId, LineId = LineId, OperatingTime = OperatingTime };
        }
    }
}